/*******************************************************************************
 * Copyright (c) 2010, 2019 VectorGraphics2D project.
 *
 * This program and the accompanying materials are made
 * available under the terms of the Eclipse Public License 2.0
 * which is available at https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 * 
 * Contributors:
 * Erich Seifert - initial API and implementation
 * Michael Seifert - initial API and implementation
 *******************************************************************************/
package org.eclipse.swtchart.vectorgraphics2d.intermediate.commands;

import java.util.LinkedList;
import java.util.List;

public class Group extends Command<List<Command<?>>> {

	public Group() {

		super(new LinkedList<>());
	}

	public void add(Command<?> command) {

		List<Command<?>> group = getValue();
		group.add(command);
	}
}
